+Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkcellview.c (gtk_cell_view_finalize): just call
+ gtk_cell_view_cell_layout_clear instead of trying to free the
+ structure ourselves here. (#125726, Morten Welinder).
+
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooser.[hc]:
+Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkcellview.c (gtk_cell_view_finalize): just call
+ gtk_cell_view_cell_layout_clear instead of trying to free the
+ structure ourselves here. (#125726, Morten Welinder).
+
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooser.[hc]:
+Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkcellview.c (gtk_cell_view_finalize): just call
+ gtk_cell_view_cell_layout_clear instead of trying to free the
+ structure ourselves here. (#125726, Morten Welinder).
+
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooser.[hc]:
+Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkcellview.c (gtk_cell_view_finalize): just call
+ gtk_cell_view_cell_layout_clear instead of trying to free the
+ structure ourselves here. (#125726, Morten Welinder).
+
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooser.[hc]:
+Sun Nov 16 21:48:40 2003 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkcellview.c (gtk_cell_view_finalize): just call
+ gtk_cell_view_cell_layout_clear instead of trying to free the
+ structure ourselves here. (#125726, Morten Welinder).
+
Sun Nov 16 00:35:29 2003 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooser.[hc]:
{
GtkCellView *cellview = GTK_CELL_VIEW (object);
- if (cellview->priv->cell_list)
- {
- g_list_foreach (cellview->priv->cell_list, (GFunc)g_free, NULL);
- g_list_free (cellview->priv->cell_list);
- }
- cellview->priv->cell_list = NULL;
+ gtk_cell_view_cell_layout_clear (GTK_CELL_LAYOUT (object));
if (G_OBJECT_CLASS (parent_class)->finalize)
(* G_OBJECT_CLASS (parent_class)->finalize) (object);